home *** CD-ROM | disk | FTP | other *** search
/ New Star Software Collection / NSS_Collection.iso / 3-231 mega pack 1 / 1.ima / FMW.BAT < prev    next >
DOS Batch File  |  1994-12-19  |  923b  |  46 lines

  1. @ECHO OFF
  2. CLS
  3. IF NOT EXIST %1\NUL GOTO INVALID
  4. IF "%1"=="" GOTO NODRIVE
  5. ECHO.
  6. ECHO.
  7. ECHO About to copy the File Manager files to a temporary directory %1\CPFMW
  8. ECHO Next month's disk will contain the remaining files required to complete
  9. ECHO the installation. These files may be deleted when the installation is
  10. ECHO complete. Leave them on your hard disk until you get next month's disk.
  11. ECHO.
  12. ECHO.
  13. ECHO Press CTRL-C to abort or
  14. Pause
  15. CLS
  16. MD %1\CPFMW
  17. ECHO Unpacking files, please wait.....
  18. PKUNZIP CPSFM1.ZIP %1\CPFMW >NUL
  19. ECHO.
  20. ECHO.
  21. ECHO.
  22. ECHO.
  23. ECHO.
  24. ECHO.
  25. ECHO Finished copying files, press any key to return to the main menu.
  26. Pause
  27. MAIN
  28.  
  29. :NODRIVE
  30. ECHO You must enter the drive letter (e.g. C:) of the drive you wish to 
  31. ECHO install to.
  32. ECHO.
  33. ECHO Try again.
  34. ECHO.
  35. ECHO.
  36. PAUSE
  37. MAIN
  38.  
  39. :INVALID
  40. ECHO The drive you specified does not exist. Try again.
  41. ECHO.
  42. ECHO.
  43. PAUSE
  44. MAIN
  45.  
  46.